﻿<%@ Page Language="C#" MasterPageFile="~/Teacher/TeacMasterPage.master" AutoEventWireup="true" CodeFile="PersonalInfo.aspx.cs" Inherits="Teacher_Default3" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentBody" Runat="Server">
个人信息
<form runat="server">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:onlineexamConnectionString %>"
        SelectCommand="SELECT t_teacher.teacId, t_teacher.name, t_teacher.password, t_teacher.age, t_teacher.sex, t_teacher.scurityNo, t_teacher.email, t_teacher.phone, t_teacher.registerDate, t_course.name AS Expr1 FROM t_teacher INNER JOIN t_course ON t_teacher.courseId = t_course.id">
    </asp:SqlDataSource>
    <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1">
        <ItemTemplate>
            teacId:
            <asp:Label ID="teacIdLabel" runat="server" Text='<%# Eval("teacId") %>'></asp:Label><br />
            name:
            <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>'></asp:Label><br />
            password:
            <asp:Label ID="passwordLabel" runat="server" Text='<%# Eval("password") %>'></asp:Label><br />
            age:
            <asp:Label ID="ageLabel" runat="server" Text='<%# Eval("age") %>'></asp:Label><br />
            sex:
            <asp:Label ID="sexLabel" runat="server" Text='<%# Eval("sex") %>'></asp:Label><br />
            scurityNo:
            <asp:Label ID="scurityNoLabel" runat="server" Text='<%# Eval("scurityNo") %>'></asp:Label><br />
            email:
            <asp:Label ID="emailLabel" runat="server" Text='<%# Eval("email") %>'></asp:Label><br />
            phone:
            <asp:Label ID="phoneLabel" runat="server" Text='<%# Eval("phone") %>'></asp:Label><br />
            registerDate:
            <asp:Label ID="registerDateLabel" runat="server" Text='<%# Eval("registerDate") %>'>
            </asp:Label><br />
            Expr1:
            <asp:Label ID="Expr1Label" runat="server" Text='<%# Eval("Expr1") %>'></asp:Label><br />
            <br />
        </ItemTemplate>
    </asp:DataList></form>
</asp:Content>

